﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using VonaJobs.DAL.DAO;

namespace VonaJobs.UI.Admin
{
    public partial class EmployerServices : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }
        public void  SendService(object sender,EventArgs eventArgs)
        {
            string fromAddress = "";
            string serviceDetails = txtserviceDetails.Value;
            int id =Convert.ToInt32(selectEmployerType.Value);
            MemberType memberType=new MemberType();
            memberType.Id = id;

            var smtp = new System.Net.Mail.SmtpClient();
            {
                smtp.Host = "smtp.gmail.com";
                smtp.Port = 587;
                smtp.EnableSsl = true;
                smtp.DeliveryMethod = System.Net.Mail.SmtpDeliveryMethod.Network;
                smtp.Credentials = new NetworkCredential();
                smtp.Timeout = 20000;
            }            
        }
    }
}